package JLB_Chapter_05;

// StringConcatenation
public class code_05_02 {
    public static void main(String[] args) {
        String a = "abc";
        String b = "123";
        String c = a + b + "!";
        String d = "拼接字符串";
        String e;
        d += c;
        e = b.concat(a);
        System.out.println("a = " + a);
        System.out.println("b = " + b);
        System.out.println("c = " + c);
        System.out.println("d = " + d);
        System.out.println("e = " + e);
    }
}
